import React from 'react';

import './item.scss';

export default ({label, extra, className = '', children}) => (
    <div className={`f-item flex-avg ${className}`}>
        <div className="f-label">{label}</div>
        <div className="f-content">{children}</div>
        {extra}
    </div>
);
